home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 3
/
Info_Mac_1994-01.iso
/
Development
/
General
/
GCC 1.37.1r15
/
Documents
/
Installing GCC
< prev
next >
Wrap
Text File
|
1993-01-14
|
2KB
|
35 lines
INSTALLATION
To install GCC, just copy the contents of the Tools and Scripts folders into
your usual MPW folders.
CHANGING THE SHELL
The MPW partition size will need to be rather large; 3000K seems to be enough usually.
Also, the MPW stack MUST BE INCREASED to 128K. This is done by editing the HEXA
resource of the shell to be "0002 0000" (it's normally "0000 0000"). If you neglect
this, GCC will most likely overflow the stack and crash your Mac in some mysterious
way.
(This is because GCC makes heavy use of a "true alloca" that does temporary
allocation on the stack; which is very efficient but sometimes uses huge amounts
of stack space. We haven't yet encountered any program that needed more than 128K
of stack, but "your mileage may vary". Note that this is not a problem for GCC
compiled by MPW C, which uses a "fake alloca" based on malloc.)
INSTALLING THE DOCUMENTATION
The help files GCC.Help may be appended to MPW.Help, or else accessed using the
-f option to help. There is a Commando interface as well.
The Documents folder contains the long manuals for CCCP and GCC.
CCCP and GCC each have their own manuals which are in TeX format (files
cpp.texinfo and gcc.texinfo in the Documents folder).
Both the commercial Mac application Textures and the shareware program
OzTeX can format and print the manuals, as long as the TeX macro file texinfo.tex
(also in Documents) is available. TeX is also available on many other machines.
If you don't have TeX, the TeX input text is readable, if somewhat ugly.